package serviceImpl;

import java.util.ArrayList;

import dao.BackCollegeDao;
import dao.BackCommentDao;
import daoImpl.BackCollegeDaoImpl;
import daoImpl.BackCommentDaoImpl;
import pojo.College;
import pojo.MessageComment;
import service.BackCommentService;

public class BackCommentServiceImpl implements BackCommentService{

	
	@Override
	public ArrayList<MessageComment> getMc() {
		BackCommentDao bcd = new BackCommentDaoImpl();
		ArrayList<MessageComment> mcList = bcd.getMc();
		return mcList;
	}

	@Override
	public boolean delMc(int mcid) {
		BackCommentDao bcd = new BackCommentDaoImpl();
		int row = bcd.delMc(mcid);
		return row>0 ? true : false;
	}

}
